export default (function () {
  // console.clear()
  console.log(
    '%cYKXBC%c.pakchoi',
    `
      color: #f709bb; 
      font-family: sans-serif;
      font-size: 1.5rem;
      background: #2646b1;
      color: #fffd;
      border-radius: 0.25rem;
      padding: 0.25rem 1rem;
      margin-right: 0.5rem;
    `,
    `
      color: #ee3c00;
      font-weight: 700;
      background: #2c2c2c;
      padding: 0.25rem 1rem;
      border-radius: 0.25rem;
      letter-spacing: 0.05em;
    `,
  )
  const { platform, appCodeName, language, onLine } = navigator
  console.table({
    TimeStamp: new Date().getTime(),
    OS: platform,
    Browser: appCodeName,
    Language: language,
    onLine: onLine ? 'Y' : 'N',
  })
  console.warn = () => {}
})()
